package com.xiaobaibai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaobaibai.entity.Order;
import com.xiaobaibai.vo.CreateOrderVo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaobaibai
 * @since 2020-10-16
 */
public interface IOrderService extends IService<Order> {

    public String createOrder(CreateOrderVo createOrderVo, Integer userId);

    //此取消订单为延时队列专用
    public boolean cancelOrder(String orderId);

    public List<Order> getMyOrderList(Integer pageNum,Integer pageSize,Integer userId);

    public void confirmGoods(Order order);

}
